﻿namespace Furesoft.Styling.Converters
{
    using System.ComponentModel;
    using System.Drawing;
    using System.Drawing.Drawing2D;
    using System.Text.RegularExpressions;

    internal class RegionConverter : IConverter<Region>
    {
        #region Public Methods and Operators

        public override Region Convert(string s)
        {
            var f = Function.Parse(s);
            return (Region)Function.ResolveClrFunc(new Functions.RegionFunctions(), f);
        }

        public override string Convert(Region s)
        {
            return "";
        }

        #endregion
    }
}